fixes some problems with content spilling over slides; fixes bibliography not working