fix entry query
add width_for entry helper
Merge pull request #80 from akshatpradhan/fixes

refactor entry helper and entry controller